﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace javanet_demo.demo
{

    [Serializable]
    [XmlType("project")]
    public class Project
    {
        public long id { get; set; }
        public long version { get; set; }

        public String code { get; set; }
        public String nameShort { get; set; }
        public String nameLong { get; set; }
        public List<Milestone> milestones { get; set; }

    }

    [Serializable]
    [XmlType("milestone")]
    public class Milestone
    {
        public long id { get; set; }
        public long version { get; set; }

        public String code { get; set; }
        public String name { get; set; }
        public DateTime date { get; set; }
    }

}